package com.itheima.client;

import com.itheima.entity.User;
import org.springframework.stereotype.Component;

/*

 */
public class UserClientFallback implements UserClient {
    @Override
    public User userById(long id) {
        User user = new User();
        user.setName("网络超时");

        return user;
    }
}
